package com.ithema.text;

import com.ithema.domain.Student;

public class TestStudent {
    public static void main(String[] args) {
       /* Student stu = new Student();
        stu.setName("张山");
        stu.setAge(23);
        System.out.println(stu.getName());
        System.out.println(stu.getAge());
        stu.show();
        System.out.println("----------------------");*/
        Phone p = new Phone();
        p.setBrand("小米");
        p.setColor("黑色");
        p.setPrice(3998);
        p.call();
        p.sendMessage();
       // System.out.println("正在使用价格为"+p.getPrice()+"元"+p.getColor()+"的"+p.getBrand());
/*
        Phone p1 = new Phone();
        p1.setBrand("小米");
        p1.setColor("黑色");
        p1.setPrice(3998);
        p1.call();
*/

        //long start = System.currentTimeMillis();
       /*
        while (true){
            System.out.println("叫爸爸！！！！");
        }*/
/*
        int arr[]={22,3,2,56,8,5,6,6,4,2,};
        int a=arr[0];
        for (int i = 1; i <arr.length ; i++) {
            if(a<arr[i]){
                a=arr[i];
            }
        }
        System.out.println(a);
        int[] x = {125,21,5,168,98};
        int max = x[0];
        for (int i=1; i<x.length; i++){
            if(x[i] < max)
                max = x[i];
        }
        System.out.println(max);
*/

    }
}
